import request from '@/utils/request'

// 转发驱动程序请求
export function repost(data) {
  data.accessEntranceToken = "2567a5ec9705eb7ac2c984033e06189d"
  return request({
    url: '/driverAdapt/project/rePostByBrowser',
    method: 'post',
    data: data,
    timeout:5*60*1000
  })
}

// 转发驱动程序上传文件的请求
export function rePostUpload(data) {
  data.accessEntranceToken = "2567a5ec9705eb7ac2c984033e06189d"
  return request({
    url: '/driverAdapt/project/rePostUploadByBrowser',
    method: 'post',
    data: data,
    timeout:10*60*1000
  })
}
